package com.fourth.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljx.entity.Cart;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Mr.ma
 * @since 2023/3/2 14:41
 **/
@Mapper
public interface UbCartDao extends BaseMapper<Cart> {
    /**
     * 查询用户购物车信息
     * @param uid
     * @return
     */
    List<Cart> findCart(String uid);
}
